﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using IndignadoFramework.PhoneApp.Helper;

namespace IndignadoFramework.PhoneApp
{
    public partial class Page3 : PhoneApplicationPage
    {
        public Page3()
        {
            InitializeComponent();
        }

        private void convocatorias_Click(object sender, RoutedEventArgs e)
        {
            var file = SerializeHelper.LoadSetting("FacebookAccess");
            string urlWIthData = string.Format("/Convocatorias.xaml?id={0}", file.UserId);
            this.NavigationService.Navigate(new Uri(urlWIthData, UriKind.Relative));

        }

        private void logoff_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}